/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.service;

import com.comac.ins.common.mybatis.core.page.PageQuery;
import com.comac.ins.common.mybatis.core.page.TableDataInfo;
import com.comac.ins.isfd.domain.bo.IsfdAlgorithmConfigBo;
import com.comac.ins.isfd.domain.bo.query.IsfdAlgorithmConfigQueryBo;
import com.comac.ins.isfd.domain.vo.IsfdAlgorithmConfigVo;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * 算法配置存储Service接口
 *
 * @author hxloongs
 * @date 2025-05-12
 */
public interface IIsfdAlgorithmConfigService {

    /**
     * 计算
     */
    void calculate(List<Map<String, Object>> dataList, Long algorithmConfigId);

    IsfdAlgorithmConfigVo queryById(Long id);

    IsfdAlgorithmConfigVo queryByOneByName(String name);

    TableDataInfo<IsfdAlgorithmConfigVo> queryPageList(IsfdAlgorithmConfigQueryBo queryBo);


    List<IsfdAlgorithmConfigVo> queryList(IsfdAlgorithmConfigBo bo);


    Boolean insertByBo(IsfdAlgorithmConfigBo bo);


    Boolean updateByBo(IsfdAlgorithmConfigBo bo);


    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
